<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>首页 - 退役军人服务平台</title>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        :root {
            --primary: #1a6df0;
            --navy-blue: #0d2b50;
            --secondary: #ff6b00;
            --light-bg: #f5f7fa;
            --white: #ffffff;
            --gray: #6c757d;
            --text-primary: #333;
            --text-secondary: #666;
            --border: #e5e5e5;
        }

        body {
            font-family: "PingFang SC", "Helvetica Neue", Arial, sans-serif;
            background: linear-gradient(180deg, #f0f7ff 0%, var(--light-bg) 100%);
            color: var(--text-primary);
            padding-bottom: 80px;
        }

        /* 顶部导航栏 - 更卡通化 */
        .header {
            background: linear-gradient(135deg, var(--navy-blue) 0%, var(--primary) 100%);
            color: white;
            padding: 15px 20px;
            position: sticky;
            top: 0;
            z-index: 100;
            box-shadow: 0 4px 20px rgba(13, 43, 80, 0.2);
            border-bottom-left-radius: 20px;
            border-bottom-right-radius: 20px;
        }

        .header-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .header-title {
            font-size: 20px;
            font-weight: 700;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .header-title::before {
            content: '🏠';
            font-size: 24px;
        }

        .header-actions {
            display: flex;
            gap: 15px;
        }

        .header-actions i {
            font-size: 22px;
            cursor: pointer;
            transition: transform 0.2s;
        }

        .header-actions i:hover {
            transform: scale(1.1);
        }

        /* AI智能助手入口 - 更卡通化 */
        .ai-assistant {
            background: linear-gradient(135deg, var(--primary) 0%, #3d8bfd 100%);
            margin: 20px 15px;
            border-radius: 24px;
            padding: 25px;
            color: white;
            box-shadow: 0 8px 30px rgba(26, 109, 240, 0.4);
            position: relative;
            overflow: hidden;
        }

        .ai-assistant::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
            animation: float 6s ease-in-out infinite;
        }

        @keyframes float {
            0%, 100% { transform: translate(0, 0) rotate(0deg); }
            50% { transform: translate(-10px, -10px) rotate(5deg); }
        }

        .ai-assistant-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin-bottom: 15px;
            position: relative;
            z-index: 1;
        }

        .ai-assistant-title {
            font-size: 22px;
            font-weight: 700;
            margin-bottom: 8px;
        }

        .ai-assistant-icon {
            width: 60px;
            height: 60px;
            background: rgba(255,255,255,0.25);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 28px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.2);
            animation: bounce 2s ease-in-out infinite;
        }

        @keyframes bounce {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-8px); }
        }

        .ai-assistant-desc {
            font-size: 14px;
            opacity: 0.95;
            margin-bottom: 15px;
            line-height: 1.5;
            position: relative;
            z-index: 1;
        }

        .ai-assistant-btn {
            background: white;
            color: var(--primary);
            border: none;
            padding: 14px 28px;
            border-radius: 25px;
            font-size: 16px;
            font-weight: 700;
            cursor: pointer;
            width: 100%;
            box-shadow: 0 4px 15px rgba(0,0,0,0.2);
            transition: all 0.3s;
            position: relative;
            z-index: 1;
        }

        .ai-assistant-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(0,0,0,0.3);
        }

        .ai-assistant-btn:active {
            transform: translateY(0);
        }

        /* 快速入口区 - 更卡通化 */
        .quick-entries {
            background: var(--white);
            margin: 0 15px 20px;
            border-radius: 20px;
            padding: 20px;
            box-shadow: 0 4px 20px rgba(0,0,0,0.08);
        }

        .quick-entries-title {
            font-size: 18px;
            font-weight: 700;
            margin-bottom: 15px;
            color: var(--navy-blue);
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .quick-entries-title::before {
            content: '⚡';
            font-size: 20px;
        }

        .entries-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 15px;
        }

        .entry-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-decoration: none;
            color: var(--text-primary);
            transition: transform 0.2s;
        }

        .entry-item:hover {
            transform: translateY(-3px);
        }

        .entry-icon {
            width: 60px;
            height: 60px;
            border-radius: 18px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 28px;
            margin-bottom: 10px;
            color: white;
            box-shadow: 0 4px 15px rgba(0,0,0,0.15);
            transition: all 0.3s;
        }

        .entry-item:hover .entry-icon {
            transform: scale(1.1);
        }

        .entry-item:nth-child(1) .entry-icon {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        }

        .entry-item:nth-child(2) .entry-icon {
            background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
        }

        .entry-item:nth-child(3) .entry-icon {
            background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
        }

        .entry-item:nth-child(4) .entry-icon {
            background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
        }

        .entry-label {
            font-size: 13px;
            text-align: center;
            font-weight: 500;
        }

        /* 推荐内容区 */
        .recommendations {
            margin: 15px;
        }

        .section-title {
            font-size: 18px;
            font-weight: 700;
            margin-bottom: 15px;
            color: var(--navy-blue);
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .section-title i {
            color: var(--primary);
            margin-right: 8px;
        }

        .more-link {
            font-size: 13px;
            color: var(--gray);
            text-decoration: none;
            transition: color 0.2s;
        }

        .more-link:hover {
            color: var(--primary);
        }

        /* 推荐岗位 - 更卡通化 */
        .job-list {
            background: var(--white);
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 4px 20px rgba(0,0,0,0.08);
        }

        .job-item {
            padding: 18px;
            border-bottom: 1px solid var(--border);
            display: flex;
            justify-content: space-between;
            align-items: center;
            text-decoration: none;
            color: var(--text-primary);
            transition: all 0.2s;
            border-left: 4px solid transparent;
        }

        .job-item:hover {
            background: rgba(26, 109, 240, 0.05);
            border-left-color: var(--primary);
            transform: translateX(3px);
        }

        .job-item:last-child {
            border-bottom: none;
        }

        .job-info {
            flex: 1;
        }

        .job-title {
            font-size: 15px;
            font-weight: 600;
            margin-bottom: 5px;
        }

        .job-meta {
            font-size: 12px;
            color: var(--text-secondary);
            display: flex;
            gap: 15px;
        }

        .job-salary {
            color: var(--secondary);
            font-weight: 600;
        }

        /* 热门培训 - 更卡通化 */
        .training-list {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 15px;
        }

        .training-item {
            background: var(--white);
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 4px 20px rgba(0,0,0,0.08);
            text-decoration: none;
            color: var(--text-primary);
            transition: all 0.3s;
        }

        .training-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 30px rgba(0,0,0,0.12);
        }

        .training-image {
            width: 100%;
            height: 120px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 40px;
        }

        .training-info {
            padding: 12px;
        }

        .training-title {
            font-size: 14px;
            font-weight: 600;
            margin-bottom: 5px;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .training-meta {
            font-size: 12px;
            color: var(--text-secondary);
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .training-price {
            color: var(--secondary);
            font-weight: 600;
        }

        /* 底部导航栏 - 更卡通化 */
        .tab-bar {
            position: fixed;
            bottom: 0;
            left: 0;
            width: 100%;
            background: white;
            display: flex;
            justify-content: space-around;
            box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
            z-index: 1000;
            padding: 10px 0;
            border-top-left-radius: 20px;
            border-top-right-radius: 20px;
        }

        .tab-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            padding: 5px 10px;
            color: var(--gray);
            text-decoration: none;
            font-size: 12px;
            transition: all 0.3s;
            border-radius: 12px;
        }

        .tab-item i {
            font-size: 24px;
            margin-bottom: 3px;
        }

        .tab-item.active {
            color: var(--primary);
            font-weight: 600;
            background: rgba(26, 109, 240, 0.1);
        }
    </style>
</head>
<body>
    <!-- 顶部导航栏 -->
    <div class="header">
        <div class="header-content">
            <div class="header-title">数字哨所</div>
            <div class="header-actions">
                <i class="fas fa-search"></i>
                <i class="fas fa-bell"></i>
            </div>
        </div>
    </div>

    <!-- AI智能助手入口 -->
    <div class="ai-assistant">
        <div class="ai-assistant-header">
            <div>
                <div class="ai-assistant-title">🤖 AI智能助手</div>
                <div class="ai-assistant-desc">告诉我您的需求，我来为您定制专属方案！随时为您服务～</div>
            </div>
            <div class="ai-assistant-icon">
                <i class="fas fa-robot"></i>
            </div>
        </div>
        <button class="ai-assistant-btn" onclick="location.href='ai-chat.html'">
            开始咨询 <i class="fas fa-arrow-right" style="margin-left: 8px;"></i>
        </button>
    </div>

    <!-- 快速入口区 -->
    <div class="quick-entries">
        <div class="quick-entries-title">核心服务</div>
        <div class="entries-grid">
            <a href="job-agent-list.html" class="entry-item">
                <div class="entry-icon">
                    <i class="fas fa-briefcase"></i>
                </div>
                <div class="entry-label">兵岗速配</div>
            </a>
            <a href="training-list.html" class="entry-item">
                <div class="entry-icon">
                    <i class="fas fa-graduation-cap"></i>
                </div>
                <div class="entry-label">砺剑计划</div>
            </a>
            <a href="travel-home.html" class="entry-item">
                <div class="entry-icon">
                    <i class="fas fa-umbrella-beach"></i>
                </div>
                <div class="entry-label">荣军优享</div>
            </a>
            <a href="#" class="entry-item">
                <div class="entry-icon">
                    <i class="fas fa-users"></i>
                </div>
                <div class="entry-label">战友活动</div>
            </a>
        </div>
    </div>

    <!-- 推荐岗位 -->
    <div class="recommendations">
        <div class="section-title">
            <span>💼 最新推荐岗位</span>
            <a href="job-list.html" class="more-link">更多 <i class="fas fa-chevron-right"></i></a>
        </div>
        <div class="job-list">
            <a href="job-detail.html" class="job-item">
                <div class="job-info">
                    <div class="job-title">安全工程师</div>
                    <div class="job-meta">
                        <span>北京·朝阳区</span>
                        <span>3-5年经验</span>
                    </div>
                </div>
                <div class="job-salary">15-25K</div>
            </a>
            <a href="job-detail.html" class="job-item">
                <div class="job-info">
                    <div class="job-title">物流管理专员</div>
                    <div class="job-meta">
                        <span>上海·浦东新区</span>
                        <span>1-3年经验</span>
                    </div>
                </div>
                <div class="job-salary">8-12K</div>
            </a>
            <a href="job-detail.html" class="job-item">
                <div class="job-info">
                    <div class="job-title">项目管理</div>
                    <div class="job-meta">
                        <span>深圳·南山区</span>
                        <span>5-10年经验</span>
                    </div>
                </div>
                <div class="job-salary">20-35K</div>
            </a>
        </div>
    </div>

    <!-- 热门培训 -->
    <div class="recommendations">
        <div class="section-title">
            <span>🔥 热门培训课程</span>
            <a href="training-list.html" class="more-link">更多 <i class="fas fa-chevron-right"></i></a>
        </div>
        <div class="training-list">
            <a href="training-detail.html" class="training-item">
                <div class="training-image">
                    <i class="fas fa-code"></i>
                </div>
                <div class="training-info">
                    <div class="training-title">Java开发工程师培训</div>
                    <div class="training-meta">
                        <span>30天</span>
                        <span class="training-price">¥2999</span>
                    </div>
                </div>
            </a>
            <a href="training-detail.html" class="training-item">
                <div class="training-image">
                    <i class="fas fa-chart-line"></i>
                </div>
                <div class="training-info">
                    <div class="training-title">项目管理PMP认证</div>
                    <div class="training-meta">
                        <span>45天</span>
                        <span class="training-price">¥3999</span>
                    </div>
                </div>
            </a>
            <a href="training-detail.html" class="training-item">
                <div class="training-image">
                    <i class="fas fa-shield-alt"></i>
                </div>
                <div class="training-info">
                    <div class="training-title">网络安全工程师</div>
                    <div class="training-meta">
                        <span>60天</span>
                        <span class="training-price">¥4999</span>
                    </div>
                </div>
            </a>
            <a href="training-detail.html" class="training-item">
                <div class="training-image">
                    <i class="fas fa-truck"></i>
                </div>
                <div class="training-info">
                    <div class="training-title">物流管理培训</div>
                    <div class="training-meta">
                        <span>20天</span>
                        <span class="training-price">¥1999</span>
                    </div>
                </div>
            </a>
        </div>
    </div>

    <!-- 底部导航栏 -->
    <div class="tab-bar">
        <a href="home.html" class="tab-item active">
            <i class="fas fa-home"></i>
            <span>首页</span>
        </a>
        <a href="job-agent-list.html" class="tab-item">
            <i class="fas fa-briefcase"></i>
            <span>兵岗速配</span>
        </a>
        <a href="training-list.html" class="tab-item">
            <i class="fas fa-graduation-cap"></i>
            <span>砺剑计划</span>
        </a>
        <a href="travel-home.html" class="tab-item">
            <i class="fas fa-umbrella-beach"></i>
            <span>荣军优享</span>
        </a>
        <a href="profile.html" class="tab-item">
            <i class="fas fa-user"></i>
            <span>个人</span>
        </a>
    </div>
</body>
</html>
